﻿using UnityEngine;

namespace MiHoMiao.Mono.UnityPool
{
    /// <summary>
    ///     可被 UnityPool 池化的对象
    /// </summary>
    public interface IPooledObject
    {
        public Component Source { get; set; }

        public void OnGet()
        {
        }

        public void OnRelease()
        {
        }
    }
}